package com.example.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
	@RequestMapping("/dba/aa")
	public String dba() {
		return "你同时有dba admin权限";
	}
	
	@RequestMapping("/admin/aa")
	public String admin() {
		return "你有admin权限";
	}
	
	@RequestMapping("/user/aa")
	public String user() {
		return "你有user或admin权限";
	}

}
